<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>CoolMeeting会议管理系统</title>
    <link rel="stylesheet" href="styles/common.css"/>
</head>
<body>
<div class="page-header">
    <div class="header-banner">
        <img src="images/header.png" alt="CoolMeeting"/>
    </div>
    <div class="header-title">
        欢迎访问Cool-Meeting会议管理系统
    </div>
</div>
<div class="page-body">
    <div class="page-content">
        <div class="content-nav">
            登录
        </div>
        <form action="login" method="post">
            <fieldset>
                <legend>登录信息</legend>
                <table class="formtable" style="width:50%">
                    <tr>
                        <td>提示信息</td>
                        <td>
                            <font color="red">${requestScope.msg}</font>
                        </td>
                    </tr>
                    <tr>
                        <td>账号名:</td>
                        <td>
                            <input id="username" name="username" type="text"/>
                        </td>
                    </tr>
                    <tr>
                        <td>密码:</td>
                        <td>
                            <input id="pwd" name="pwd" type="password"/>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <select id="timelength" name="timelength">
                                <option value="0" selected>每次都需要登录</option>
                                <option value="7" >免密登录一周</option>
                                <option value="15" >免密登录半月</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="command">
                            <input type="submit" value="登录" class="clickbutton"onclick="window.location.href='notifiactions.html';"/>
                            <input type="button" value="返回" class="clickbutton" onclick="window.history.back();"/>
                            <input type="button" value="注册" class="clickbutton" onclick="window.location.href='viewAllDepartmentServlet?code=register';"/>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </div>
</div>
<div class="page-footer">
    <hr/>
    更多问题，欢迎联系<a href="mailto:webmaster@eeg.com">管理员</a>
    <img src="images/footer.png" alt="CoolMeeting"/>
</div>
</body>
</html>
